OE update welcome 2

intro

Introduction

Yet Another Programming Language?

Euphoria is a very high-level programming language. It is unique among a crowd of conventional languages.

Euphoria has come a long way since v1.0 was released in July 1993 by Rapid Deployment Software (RDS). There are now enthusiastic users around the world.

Great Features

  • Open source
  • Free for personal and commercial use
  • Produces royalty-free, stand-alone, programs
  • Multi-platform -- Windows, OS X, Linux, FreeBSD, OpenBSD, NetBSD, ...
  • Provides a choice of multi-platform GUI toolkits: IUP, GTK, wxWindows
  • Syntax colored profiling, debugging and tracing of code
  • Dynamic memory allocation and efficient garbage collection
  • Interfacing to existing C libraries and databases
  • Well-documented, lots of example source-code, and an enthusiastic forum
  • Edit and run convenience

Euphoria is unique

What makes Euphoria unique is a design that uses just two basic data-types -- atom and sequence, and two 'helper' data-types -- object and integer.

  • An atom is single numeric value (either an integer or floating point)
  • A sequence is a list of zero or more objects.
  • An object is a variant type in that it can hold an atom or a sequence.
  • An integer is just a special form of atom that can only hold integers. You can use the integer type for a performance advantage in situations where floating point values are not required.

What follows from this design are some advantages over conventional languages:

Generic operations
include std/sort.e -- for sort function 
include std/console.e -- for display function 
 
sequence names = {"Sue","Ralph","Brenda","Juan","Kathy","Alan"} 
sequence prices =  {1.60,22.88,13.50,0.39,12.99,44.69} 
 
display(sort(names)) 
display(sort(prices)) 
Results:

{ 
  "Alan", 
  "Brenda", 
  "Juan", 
  "Kathy", 
  "Ralph", 
  "Sue" 
} 
{0.39,1.6,12.99,13.5,22.88,44.69} 

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu